package com.spring.boot.springBoot.jdk8.defaultInterFace;

/**
 * Created by pactera on 2018/1/22.
 */
public interface Formula {

    double calculate(int a);

    default double sqrt(int a){
        return Math.sqrt(a);
    }

}
